package com.freesun.shop.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.freesun.shop.entity.HotSearch;

import java.util.List;

/**
 * <p>
 * 热搜 服务类
 * </p>
 *
 * @author zf
 * @since 2019-11-13
 */
public interface HotSearchService extends IService<HotSearch> {

    /**
     * 查询数据库里面的热搜信息
     * @param number
     * @param shopId
     * @param sort
     * @return
     */
    List<HotSearch> topN(Integer number, Integer shopId, Integer sort);
}
